home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / MessageBP.h.z / MessageBP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  4.2 KB  |  154 lines

  1. /*
  2.  * MessageBP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: MessageBP.h /main/cde1_maint/2 1995/08/18 19:12:58 drk $ */
  36. /*
  37. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. #ifndef _XmessageP_h
  41. #define _XmessageP_h
  42.  
  43. #include <Xm/BulletinBP.h>
  44. #include <Xm/MessageB.h>
  45.  
  46. #ifdef __cplusplus
  47. extern "C" {
  48. #endif
  49.  
  50. /* Constraint part record for MessageBox widget */
  51.  
  52. typedef struct _XmMessageBoxConstraintPart
  53. {
  54.    char unused;
  55. } XmMessageBoxConstraintPart, * XmMessageBoxConstraint;
  56.  
  57.  
  58. /*  New fields for the MessageBox widget class record  */
  59.  
  60. typedef struct
  61. {
  62.    XtPointer extension;   /* Pointer to extension record */
  63. } XmMessageBoxClassPart;
  64.  
  65.  
  66. /* Full class record declaration */
  67.  
  68. typedef struct _XmMessageBoxClassRec
  69. {
  70.    CoreClassPart             core_class;
  71.    CompositeClassPart        composite_class;
  72.    ConstraintClassPart       constraint_class;
  73.    XmManagerClassPart        manager_class;
  74.    XmBulletinBoardClassPart  bulletin_board_class;
  75.    XmMessageBoxClassPart     message_box_class;
  76. } XmMessageBoxClassRec;
  77.  
  78. externalref XmMessageBoxClassRec xmMessageBoxClassRec;
  79.  
  80.  
  81. /* New fields for the MessageBox widget record */
  82.  
  83. typedef struct
  84. {
  85.     unsigned char           dialog_type;
  86.     unsigned char           default_type;
  87.     Boolean            internal_pixmap;
  88.     Boolean                 minimize_buttons;
  89.  
  90.     unsigned char           message_alignment;
  91.     XmString                message_string;
  92.     Widget                  message_wid;
  93.  
  94.     Pixmap                  symbol_pixmap;
  95.     Widget                  symbol_wid;
  96.  
  97.     XmString                ok_label_string;
  98.     XtCallbackList          ok_callback;
  99.     Widget                  ok_button;
  100.  
  101.     XmString                cancel_label_string;
  102.     XtCallbackList          cancel_callback;
  103.  
  104.     XmString                help_label_string;
  105.     Widget                  help_button;
  106.  
  107.     Widget                  separator;
  108.  
  109. } XmMessageBoxPart;
  110.  
  111.  
  112. /****************************************************************
  113.  *
  114.  * Full instance record declaration
  115.  *
  116.  ****************************************************************/
  117.  
  118. typedef struct _XmMessageBoxRec
  119. {
  120.     CorePart             core;
  121.     CompositePart        composite;
  122.     ConstraintPart       constraint;
  123.     XmManagerPart        manager;
  124.     XmBulletinBoardPart  bulletin_board; 
  125.     XmMessageBoxPart     message_box;
  126. } XmMessageBoxRec;
  127.  
  128.  
  129. /********    Private Function Declarations    ********/
  130. #ifdef _NO_PROTO
  131.  
  132. extern XmGeoMatrix _XmMessageBoxGeoMatrixCreate() ;
  133. extern Boolean _XmMessageBoxNoGeoRequest() ;
  134.  
  135. #else
  136.  
  137. extern XmGeoMatrix _XmMessageBoxGeoMatrixCreate( 
  138.                         Widget wid,
  139.                         Widget instigator,
  140.                         XtWidgetGeometry *desired) ;
  141. extern Boolean _XmMessageBoxNoGeoRequest( 
  142.                         XmGeoMatrix geoSpec) ;
  143.  
  144. #endif /* _NO_PROTO */
  145. /********    End Private Function Declarations    ********/
  146.  
  147.  
  148. #ifdef __cplusplus
  149. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  150. #endif
  151.  
  152. #endif /* _XmMessage_h */
  153. /* DON'T ADD ANYTHING AFTER THIS #endif */
  154.